<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    

    <title>第 3 页 | 钱猛的个人博客</title>
    <meta name="author" content="钱猛">
    
    <meta name="description" content="钱猛的个人博客。全栈发展向。无所谓做什么，只要是当前最感兴趣的事！随心、随性、随缘！">
    
    
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    
    <meta property="og:site_name" content="钱猛 &amp; 博客"/>

    
    <meta property="og:image" content="undefined"/>
    

    <link rel="icon" type="image/png" href="/qianmeng/favicon.png">
    <link rel="alternate" href="/qianmeng/atom.xml" title="钱猛 &amp; 博客" type="application/atom+xml">
    <link rel="stylesheet" href="/qianmeng/css/lib/materialize.min.css">
    <link rel="stylesheet" href="/qianmeng/css/lib/font-awesome.min.css">
    <link rel="stylesheet" href="/qianmeng/css/style.css" media="screen" type="text/css">

    
        <link rel="stylesheet" href="/qianmeng/css/lib/prettify-tomorrow-night-eighties.css" type="text/css">
    
    <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?fc7f849e9fbb3ea12b2683af4ccaa000";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>


<body>
    <img src="/weixin_favicon.png" style="position: absolute; left: -9999px; opacity: 0; filter: alpha(opacity=0);">

    <nav class="indigo">
    <div class="nav-wrapper">
        <a href="#" data-activates="main-menu" class="button-collapse">
            <i class="fa fa-navicon"></i>
        </a>
        <div class="">
            <a href="/" class="brand-logo hide-on-med-and-down">钱猛 &amp; 博客 | 
			<span style="color:#E91E63;font-size:18px;">
			<i class="fa fa-flag"></i><span id="busuanzi_value_site_pv"></span>. 
			<i class="fa fa-user"></i><span id="busuanzi_value_site_uv"></span>
			</span> 
			</a> 
            <ul class="right hide-on-med-and-down">
                
                    <li>
                        <a class="menu-home " href="/qianmeng" >
                            <i class="fa fa-home "></i>
                            
                            首页
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-archive " href="/qianmeng/archives" >
                            <i class="fa fa-archive "></i>
                            
                            归档
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-category category-menu" href="javascript:;" data-activates="category-menu" >
                            <i class="fa fa-bookmark "></i>
                            
                            分类
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-tag " href="/qianmeng/tags" >
                            <i class="fa fa-tag "></i>
                            
                            标签
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-reading " href="/qianmeng/reading" >
                            <i class="fa fa-book "></i>
                            
                            读书
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-about " href="/qianmeng/about" >
                            <i class="fa fa-user "></i>
                            
                            关于
                        </a>
                    </li>
                
                    <li>
                        <a class="menu-search modal-trigger " href="#search" >
                            <i class="fa fa-search "></i>
                            
                            搜索
                        </a>
                    </li>
                
            </ul>
            <div>
    <ul class="side-nav indigo darken-1" id="main-menu">
        
        <li class="side-user">
            <div class="row">
                <div class="col s4 no-padding">
                    <img class="avatar-image circle responsive-img" src="https://raw.githubusercontent.com/qianmeng/resources/master/head.jpg" alt="User Avatar">
                </div>
                <div class="info col s8 valign-wrapper no-padding">
                    <div class="valign">
                        <p class="name">钱猛</p>
                        <p class="desc">全栈工程师</p>
                    </div>
                </div>
            </div>
        </li>
        

        
            <li class="no-padding">
                <a class="waves-effect menu-home " href="/qianmeng" >
                    <i class="fa fa-home "></i>
                    
                    首页
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-archive " href="/qianmeng/archives" >
                    <i class="fa fa-archive "></i>
                    
                    归档
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-category category-menu" href="javascript:;" data-activates="category-menu" >
                    <i class="fa fa-bookmark "></i>
                    
                    分类
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-tag " href="/qianmeng/tags" >
                    <i class="fa fa-tag "></i>
                    
                    标签
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-reading " href="/qianmeng/reading" >
                    <i class="fa fa-book "></i>
                    
                    读书
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-about " href="/qianmeng/about" >
                    <i class="fa fa-user "></i>
                    
                    关于
                </a>
            </li>
        
            <li class="no-padding">
                <a class="waves-effect menu-search modal-trigger " href="#search" >
                    <i class="fa fa-search "></i>
                    
                    搜索
                </a>
            </li>
        
    </ul>

    <ul class="side-nav indigo darken-1" id="category-menu">
    

            

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/总结/">
                    总结 <span class="right">9 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/个人总结/">
                    个人总结 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/会展总结/">
                    会展总结 <span class="right">3 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/个人技能/">
                    个人技能 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/公司管理/">
                    公司管理 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/总结/编程经验/">
                    编程经验 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/面试/">
                    面试 <span class="right">6 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/Android/">
                    Android <span class="right">3 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/Python/">
                    Python <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/web/">
                    web <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/面试/前端/">
                    前端 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/前端/">
                    前端 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/前端/AngularJs/">
                    AngularJs <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/后台/">
                    后台 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Apache-CXF/">
                    Apache-CXF <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Apache-Http-Server/">
                    Apache-Http-Server <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Ehcache/">
                    Ehcache <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/Hibernate/">
                    Hibernate <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/后台/MetaQ/">
                    MetaQ <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/架构/">
                    架构 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/架构/Hexo/">
                    Hexo <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/量化交易/">
                    量化交易 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/Matlab/">
                    Matlab <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/股票/">
                    股票 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/爬虫/">
                    爬虫 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/量化交易/期货/">
                    期货 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/数据库/">
                    数据库 <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/数据库/PostGreSQL/">
                    PostGreSQL <span class="right">5 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/Android/">
                    Android <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/Android/Vollery/">
                    Vollery <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/IOS/">
                    IOS <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/IOS/itms-services/">
                    itms-services <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/网络/">
                    网络 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/网络/互联网协议/">
                    互联网协议 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/工具分享/">
                    工具分享 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/工具分享/系统工具/">
                    系统工具 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/微信/">
                    微信 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/微信/帐号区别/">
                    帐号区别 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/星座/">
                    星座 <span class="right">2 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/星座/归类/">
                    归类 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/星座/性格/">
                    性格 <span class="right">1 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-0" collapse-level="0">
                <a class="no-padding" href="/qianmeng/categories/美女/">
                    美女 <span class="right">17 篇</span></a>
                </a>
            </li>

        

            <li class="collapse-level-1" collapse-level="1">
                <a class="no-padding" href="/qianmeng/categories/美女/素人/">
                    素人 <span class="right">17 篇</span></a>
                </a>
            </li>

        

    </ul>
</div>

        </div>
    </div>
</nav>

<div id="search" class="modal search-modal">
    <div class="row">
        <div class="input-field col s12">
              <input id="search-input" type="text">
              <label for="search-input">搜索</label>
        </div>

    </div>
    <div id="search-result" class="search-result col s12">

    </div>
</div>


    <main>
        

<div class="slider">
    <ul class="slides">
    
       <li>
           <a href="http://blog.csdn.net/qian_meng" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_csdn.jpg">
               <div class="caption center-align">
                 <h4>CSDN 博客</h3>
                 <h5 class="light grey-text text-lighten-3">钱猛的CSDN 博客地址.</h5>
               </div>
           </a>
       </li>
    
       <li>
           <a href="https://github.com/qianmeng" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_github.jpg">
               <div class="caption left-align">
                 <h4>GitHub 地址</h3>
                 <h5 class="light grey-text text-lighten-3">钱猛的GitHub 地址.</h5>
               </div>
           </a>
       </li>
    
       <li>
           <a href="javascript:;" target="_blank">
               <img class="slider-image" src="/qianmeng/slider/s_weixin.jpg">
               <div class="caption right-align">
                 <h4>微信公众号</h3>
                 <h5 class="light grey-text text-lighten-3">扫描二维码关注钱猛的微信公众号.</h5>
               </div>
           </a>
       </li>
    
   </ul>
 </div>


<div id="article-list" class="container main-container">
    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2018/03/10/素人美女2018031010/">素人美女2018031010</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2018-03-10T09:40:00.000Z"><a href="/qianmeng/2018/03/10/素人美女2018031010/">2018-03-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/美女/" class="chip pink lighten-1">美女</a>
        
            <a href="/qianmeng/tags/素人/" class="chip pink lighten-1">素人</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <h3 id="素人美女，给勤劳程序员的福利"><a href="#素人美女，给勤劳程序员的福利" class="headerlink" title="素人美女，给勤劳程序员的福利"></a>素人美女，给勤劳程序员的福利<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ps : 刷刷博客的访问量，你懂的</span><br></pre></td></tr></table></figure></h3><p><img src="https://raw.githubusercontent.com/qianmeng/resources/master/meinv/meinv10.jpg" alt="素人美女，给勤劳程序员的福利"></p>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2018/03/10/素人美女2018031010/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2018/03/10/素人美女2018031002/">素人美女2018031002</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2018-03-10T09:40:00.000Z"><a href="/qianmeng/2018/03/10/素人美女2018031002/">2018-03-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/美女/" class="chip pink lighten-1">美女</a>
        
            <a href="/qianmeng/tags/素人/" class="chip pink lighten-1">素人</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <h3 id="素人美女，给勤劳程序员的福利"><a href="#素人美女，给勤劳程序员的福利" class="headerlink" title="素人美女，给勤劳程序员的福利"></a>素人美女，给勤劳程序员的福利<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ps : 刷刷博客的访问量，你懂的</span><br></pre></td></tr></table></figure></h3><p><img src="https://raw.githubusercontent.com/qianmeng/resources/master/meinv/meinv2.jpg" alt="素人美女，给勤劳程序员的福利"></p>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2018/03/10/素人美女2018031002/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2018/03/10/素人美女2018031001/">素人美女2018031001</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2018-03-10T09:40:00.000Z"><a href="/qianmeng/2018/03/10/素人美女2018031001/">2018-03-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/美女/" class="chip pink lighten-1">美女</a>
        
            <a href="/qianmeng/tags/素人/" class="chip pink lighten-1">素人</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <h3 id="素人美女，给勤劳程序员的福利"><a href="#素人美女，给勤劳程序员的福利" class="headerlink" title="素人美女，给勤劳程序员的福利"></a>素人美女，给勤劳程序员的福利<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ps : 刷刷博客的访问量，你懂的</span><br></pre></td></tr></table></figure></h3><p><img src="https://raw.githubusercontent.com/qianmeng/resources/master/meinv/meinv1.jpg" alt="素人美女，给勤劳程序员的福利"></p>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2018/03/10/素人美女2018031001/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2018/03/05/2017年个人总结-2018年目标制定/">2017年个人总结-2018年目标制定</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2018-03-05T12:06:50.000Z"><a href="/qianmeng/2018/03/05/2017年个人总结-2018年目标制定/">2018-03-05</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/总结/" class="chip pink lighten-1">总结</a>
        
            <a href="/qianmeng/tags/个人总结/" class="chip pink lighten-1">个人总结</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <h2 id="2017年工作回顾"><a href="#2017年工作回顾" class="headerlink" title="2017年工作回顾"></a>2017年工作回顾</h2><p>一年时间稍众即逝，不知不觉又到过年了，回到家感觉上年也就刚过去。但回想上年都做了什么事的时候，突然脑子一片空白，想不起一年到底干了些什么，这种感觉差爆了，人的人生也就几十年，就这样一年一年过去了，并没有感觉到自己的成长，这是很严重的问题，所以现在尽量回想上年，只有回想起才可以总结自己的问题，下年针对性的补缺（虽然仅仅补缺已经是落后了），才能过得更充实，不至于碌碌无为。<br>幸运的是有几点踪迹参考进行回想上年的经历<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2018/03/05/2017年个人总结-2018年目标制定/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2017/05/10/Android 高级面试题及答案/">Android 高级面试题及答案</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2017-05-10T11:06:50.000Z"><a href="/qianmeng/2017/05/10/Android 高级面试题及答案/">2017-05-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/面试/" class="chip pink lighten-1">面试</a>
        
            <a href="/qianmeng/tags/Android/" class="chip pink lighten-1">Android</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>本文是在CSDN上看到的不错的文章，属于转载。</p>
</blockquote>
<h3 id="一-性能优化"><a href="#一-性能优化" class="headerlink" title="一 性能优化"></a>一 性能优化</h3><h4 id="1、如何对-Android-应用进行性能分析"><a href="#1、如何对-Android-应用进行性能分析" class="headerlink" title="1、如何对 Android 应用进行性能分析"></a>1、如何对 Android 应用进行性能分析</h4><p>android 性能主要之响应速度 和UI刷新速度。</p>
<p>首先从函数的耗时来说，有一个工具TraceView 这是androidsdk自带的工作，用于测量函数耗时的。</p>
<p>UI布局的分析，可以有2块，一块就是Hierarchy Viewer 可以看到View的布局层次，以及每个View刷新加载的时间。</p>
<p>这样可以很快定位到那块layout &amp; View 耗时最长。</p>
<p>还有就是通过自定义View来减少view的层次。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2017/05/10/Android 高级面试题及答案/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2017/05/10/Python 面试问答 Top 25/">Python 面试问答 Top 25</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2017-05-10T10:06:50.000Z"><a href="/qianmeng/2017/05/10/Python 面试问答 Top 25/">2017-05-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/面试/" class="chip pink lighten-1">面试</a>
        
            <a href="/qianmeng/tags/Python/" class="chip pink lighten-1">Python</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>本文是在微信公众号上看到的不错的文章，属于转载</p>
<p>Python<br>是一种解释型，交互式，面向对象的高级编程语言。和别的一些使用标点符号的语言不同，Python使用了大量的英语单词作为关键字，因而具有很好的可读性。而且跟其他编程语言相比，它有更少的语法结构。</p>
<p>Python 是一种解释性语言：这意味着你的程序在执行之前不需要编译，而是由解释器在运行时处理。这个特点跟PERL，PHP很像。</p>
<p>Python是可交互的：这意味着你可以使用一个Python终端在写程序时和解释器直接交互。</p>
<p>Python是面向对象的：它支持面向对象风格和将代码封装成类的各种技术。</p>
<p>Python非常适合编程初级人员：Python非常容易入门而且应用领域也非常广泛，从简单的文字处理到网络浏览和游戏开发。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2017/05/10/Python 面试问答 Top 25/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2017/05/10/常见Android面试题及答案/">常见Android面试题及答案</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2017-05-10T02:06:50.000Z"><a href="/qianmeng/2017/05/10/常见Android面试题及答案/">2017-05-10</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/面试/" class="chip pink lighten-1">面试</a>
        
            <a href="/qianmeng/tags/Android/" class="chip pink lighten-1">Android</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>本文是在CSDN上看到的不错的文章，属于转载。</p>
</blockquote>
<h4 id="1、请描述一下Activity-生命周期。"><a href="#1、请描述一下Activity-生命周期。" class="headerlink" title="1、请描述一下Activity 生命周期。"></a>1、请描述一下Activity 生命周期。</h4><p>共有七个周期函数，按顺序分别是: onCreate(), onStart(), onRestart(), onResume(), onPause(),onStop(), onDestroy()。</p>
<p>onCreate() 创建Activity时调用，设置在该方法中，还以Bundle的形式提供对以前存储的任何状态的访问。<br>onStart()  Activity变为在屏幕上对用户可见时调用。<br>onResume(): Activity开始与用户交互时调用(无论是启动还是重新启动一个活动，该方法总是被调用。<br>onPause()    Activity被暂停或收回cpu和其他资源时调用，该方法用户保护活动状态的，也是保护现场。<br>onStop(): Activity被停止并转为不可见阶段及后续的生命周期事件时调用。<br>onRestart(): Activity被重新启动时调用。该活动仍然在栈中，而不是启动新的Activity。</p>
<h5 id="1、完整生命周期-即从一个Activity从出现到消失，对应的周期方法是从onCreate-到onDestroy-。"><a href="#1、完整生命周期-即从一个Activity从出现到消失，对应的周期方法是从onCreate-到onDestroy-。" class="headerlink" title="1、完整生命周期: 即从一个Activity从出现到消失，对应的周期方法是从onCreate()到onDestroy()。"></a>1、完整生命周期: 即从一个Activity从出现到消失，对应的周期方法是从onCreate()到onDestroy()。</h5><h5 id="2、可见生命周期-当Activity处于可以用户看见的状态，但不一定能与用户交互时，将多次执行从onStart-到onStop-。"><a href="#2、可见生命周期-当Activity处于可以用户看见的状态，但不一定能与用户交互时，将多次执行从onStart-到onStop-。" class="headerlink" title="2、可见生命周期: 当Activity处于可以用户看见的状态，但不一定能与用户交互时，将多次执行从onStart()到onStop()。"></a>2、可见生命周期: 当Activity处于可以用户看见的状态，但不一定能与用户交互时，将多次执行从onStart()到onStop()。</h5><h5 id="3、前景生命周期-当Activity处于Activity栈最顶端，能够与其他用户进行交互时，将多次执行从onResume-到onPause-。"><a href="#3、前景生命周期-当Activity处于Activity栈最顶端，能够与其他用户进行交互时，将多次执行从onResume-到onPause-。" class="headerlink" title="3、前景生命周期: 当Activity处于Activity栈最顶端，能够与其他用户进行交互时，将多次执行从onResume()到onPause()。"></a>3、前景生命周期: 当Activity处于Activity栈最顶端，能够与其他用户进行交互时，将多次执行从onResume()到onPause()。</h5>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2017/05/10/常见Android面试题及答案/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2017/01/01/年终总结，下年展望  2016-2017/">年终总结，下年展望  2016-2017</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2017-01-01T00:22:50.000Z"><a href="/qianmeng/2017/01/01/年终总结，下年展望  2016-2017/">2017-01-01</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/总结/" class="chip pink lighten-1">总结</a>
        
            <a href="/qianmeng/tags/个人总结/" class="chip pink lighten-1">个人总结</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>  2016已经悄然离去，2017也已悄然到来，回望过去，展望未来！</p>
</blockquote>
<p>跨年了，每年一次年终总结还是非常有必要的，看到很多人大都是总结自己的辉煌生就，想了下自己，好像确实没有什么可写的，但还是有必要总结下，为什么没有，下年要有什么。</p>
<h3 id="工作上："><a href="#工作上：" class="headerlink" title="工作上："></a>工作上：</h3><p>一年在公司基本上就做了一个项目，而且效果非常差。超时，用户不满意，产品质量差，项目的反应差间接的反应工作中的各种问题，首先技术差，界面样式，后台性能，系统稳定性，工作周期长，团队整体缺少规范，方向不明确，个人能力欠缺。一年一个团队，仅仅就做了一个项目，而且效果还这么差，从中慢慢意识到一个公司要想在行业里有竞争力，相同时间内创造更多的利润，还是需要不少必要的条件的：</p>
<ul>
<li>公司规范，工作制度，项目分工</li>
<li>项目整体把握，周期，目标，进度</li>
<li>公司技术积累</li>
<li><p>员工个人水平，技术，交流，态度</p>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2017/01/01/年终总结，下年展望  2016-2017/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2016/12/30/这15个好习惯，让您成为一名成功的程序员/">这15个好习惯，让您成为一名成功的程序员</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2016-12-30T12:44:50.000Z"><a href="/qianmeng/2016/12/30/这15个好习惯，让您成为一名成功的程序员/">2016-12-30</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/总结/" class="chip pink lighten-1">总结</a>
        
            <a href="/qianmeng/tags/个人技能/" class="chip pink lighten-1">个人技能</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>本文是在微信公众号上看到的不错的文章，属于转载。</p>
<p>真正优秀的程序员自身都拥有其他人不具备的好习惯，那么一个优秀的程序员该具备哪些好习惯呢？今天为大家整理了15个好习惯，如果能坚持下去，能为您今后的工作带来很大的益处，并且能帮助您成为一位真正优秀的程序员。</p>
</blockquote>
<h4 id="1-编写易于理解的代码"><a href="#1-编写易于理解的代码" class="headerlink" title="1.编写易于理解的代码"></a>1.编写易于理解的代码</h4><p>在编码时，要使用明确定义的命名规则，具体包括易于理解的表达式变量以及明确定义的对象和库，同时也要使用正确的缩进和换行符。这将有助于规范代码格式，并且他人能够快速读懂你的代码，也能为未来交接工作带来便利。<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2016/12/30/这15个好习惯，让您成为一名成功的程序员/">READ MORE</a>
            </div>
            
        </div>
</article>

    
        <article class="simple-article">
        <div class="card">
            <div class="card-content">
                <div class="article-title">
                    
    
        <h1 class="indigo-link-context"><a href="/qianmeng/2016/12/20/优秀工程师必备的十大能力/">优秀工程师必备的十大能力</a></h1>
    


                </div>

                <time class="pink-link-context" datetime="2016-12-20T13:44:50.000Z"><a href="/qianmeng/2016/12/20/优秀工程师必备的十大能力/">2016-12-20</a></time>

                
    <div class="tags-row">
        
            <a href="/qianmeng/tags/总结/" class="chip pink lighten-1">总结</a>
        
            <a href="/qianmeng/tags/个人技能/" class="chip pink lighten-1">个人技能</a>
        
    </div>



                
                    <div class="entry pink-link-context">
                        <blockquote>
<p>本文是在微信公众号上看到的不错的文章，属于转载。</p>
<p>平庸的人总是相似，优秀的人却各不相同。在这各不相同的特性里，掩藏着怎样的共性？据说这十大能力，是通往优秀工程师之路的必备资质。</p>
</blockquote>
<h4 id="1、预备工作的能力"><a href="#1、预备工作的能力" class="headerlink" title="1、预备工作的能力"></a>1、预备工作的能力</h4><blockquote>
<p>常言道“一日之计在于晨”，一天的工作效率，其实取决于早晨的工作状态。我们的工程师每天早晨来到公司，都会这么做：<br>
                    </div>
                
            </div>

            
            <div class="card-action pink-link-context">
                <a href="2016/12/20/优秀工程师必备的十大能力/">READ MORE</a>
            </div>
            
        </div>
</article>

    

    <ul class="pagination center-align">
    <li class="">
        <a href="/qianmeng/page/2/"><i class="fa fa-angle-left"></i></a>
    </li>
    
    
        <li class="waves-effect"><a href="/">1</a></li>
    
        <li class="waves-effect"><a href="/page/2">2</a></li>
    
        <li class="active pink"><a href="/page/3">3</a></li>
    
        <li class="waves-effect"><a href="/page/4">4</a></li>
    
        <li class="waves-effect"><a href="/page/5">5</a></li>
    
        <li class="waves-effect"><a href="/page/6">6</a></li>
    
    
    <li class="">
        <a href="/qianmeng/page/4/"><i class="fa fa-angle-right"></i></a>
    </li>
 </ul>

	
</div>

        <div class="fixed-action-btn float-sitemap">
    <a class="btn-floating btn-large pink">
      <i class="fa fa-caret-square-o-up"></i>
    </a>
    <ul>
      <li><a class="btn-return-top btn-floating waves-effect green" title="回到顶部"><i class="fa fa-arrow-circle-o-up"></i></a></li>
      <li><a class="btn-floating waves-effect button-collapse yellow darken-1"  data-activates="main-menu" title="menu"><i class="fa fa-navicon"></i></a></li>
    </ul>
  </div>

    </main>
    <footer class="page-footer indigo darken-1">
    
    <div class="container">
        <div class="row">
            
            <div class="social-group col m3 s12">
                <h5 class="white-text">社交</h5>
                
                    <a class="social-link" href="https://github.com/qianmeng" target="_blank">
                        <i class="fa fa-2x fa-github"></i>
                    </a>
                
                    <a class="social-link" href="http://weibo.com/u/1819068247" target="_blank">
                        <i class="fa fa-2x fa-weibo"></i>
                    </a>
                
                    <a class="social-link" href="/atom.xml" target="_blank">
                        <i class="fa fa-2x fa-rss"></i>
                    </a>
                
            </div>
            

            
            <div class="col m9 s12">
                <h5 class="white-text">友情链接</h5>
                
                    <a class="social-link" href="http://blog.csdn.net/qian_meng" target="_blank">CSDN 地址</a>
                
                    <a class="social-link" href="https://github.com/qianmeng" target="_blank">Github地址</a>
                
            </div>
            
        </div>
    </div>
    

    <div class="footer-copyright pink-link-context">
        <div class="container">
            © 2016  All rights reserved. 
        </div>
    </div>
</footer> 
<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
</script>


    <noscript>
    <div class="noscript">
        <p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能，请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
    </div>
</noscript>
<div class="noscript">
    <p class="center-align">当前网速较慢或者你使用的浏览器不支持博客特定功能，请尝试刷新或换用Chrome、Firefox等现代浏览器</p>
</div>


<script src="/qianmeng/js/jquery-2.1.1.min.js"></script>
<script src="/qianmeng/js/materialize.min.js"></script>

<script>
    (function($) {
        $(document).ready(function() {
            // 隐藏禁用javascript（针对微信内置浏览器）的提示
            $('.noscript').hide();

            // 图片缩放效果
            var $imgs = $('img').not('.slider-image').not('.avatar-image').not('.carousel-image').not('.card-cover-image').not('.qrcode');

            // 给图片加上点击放大效果（materialbox插件）
            $imgs.addClass('materialboxed').each(function(i, el) {
                $(this).attr('data-caption', $(this).attr('alt') || ' ');
            }).materialbox();

            // 优化表格的显示
            $('table').each(function() {
                var $table = $(this);
                // 除去多行代码的情况
                if ($table.find('pre').length == 0) {
                    $table.addClass('responsive-table striped bordered');
                }
            });

            // 首页幻灯片
            $('.slider').slider({indicators: true, full_width: true, interval: 8000});

            $(".button-collapse").sideNav();
            $(".category-menu").sideNav();

            // 针对gallery post
            $('.carousel').carousel({full_width: true});
            $('.carousel-control.prev').click(function() {
                $('.carousel').carousel('prev');
            });
            $('.carousel-control.next').click(function() {
                $('.carousel').carousel('next');
            });

            // 文章目录
            $('article').not('.simple-article').find('h1').add('h2').add('h3').add('h4').add('h5').add('h6').scrollSpy();
            // 修正文章目录的left-border颜色
            var color = $('.table-of-contents-text').css('color');
            $('.table-of-contents-link').css('border-left-color', color);

            // 针对移动端做的优化：FAB按钮点击一下收回
            if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
                $('.fixed-action-btn').addClass('click-to-toggle');
            }
            // 回到顶部
            $('.btn-return-top').click(function() {
                $('body, html').animate({
                    scrollTop: 0
                }, 500);
            });

            // 重置读书页面的Tab标签页的颜色
            $('li.tab a').hover(function() {
                $(this).toggleClass('text-lighten-4');
            });
            $('.indicator').addClass('pink lighten-2');

            
            // 添加new标签
            $('.menu-search').append('<span class="new badge pink"></span>');
            

            // 搜索功能
            $('.modal-trigger').leanModal();
            var searchXml = "search.xml";
            if (searchXml.length == 0) {
             	searchXml = "search.xml";
            }
            var searchPath = "/qianmeng/" + searchXml;
            initSearch(searchPath, 'search-input', 'search-result');
        });

        // 初始化搜索与匹配函数
        var initSearch = function(path, search_id, content_id) {
            'use strict';
            $.ajax({
                url: path,
                dataType: "xml",
                success: function(xmlResponse) {
                    // get the contents from search data
                    var datas = $("entry", xmlResponse).map(function() {
                        return {
                            title: $("title", this).text(),
                            content: $("content", this).text(),
                            url: $("url", this).text()
                        };
                    }).get();
                    var $input = document.getElementById(search_id);
                    var $resultContent = document.getElementById(content_id);
                    $input.addEventListener('input', function() {
                        var str = '<ul class=\"search-result-list\">';
                        var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                        $resultContent.innerHTML = "";
                        if (this.value.trim().length <= 0) {
                            return;
                        }
                        // perform local searching
                        datas.forEach(function(data) {
                            var isMatch = true;
                            var content_index = [];
                            var data_title = data.title.trim().toLowerCase();
                            var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                            var data_url = data.url;
                            var index_title = -1;
                            var index_content = -1;
                            var first_occur = -1;
                            // only match artiles with not empty titles and contents
                            if (data_title != '' && data_content != '') {
                                keywords.forEach(function(keyword, i) {
                                    index_title = data_title.indexOf(keyword);
                                    index_content = data_content.indexOf(keyword);
                                    if (index_title < 0 && index_content < 0) {
                                        isMatch = false;
                                    } else {
                                        if (index_content < 0) {
                                            index_content = 0;
                                        }
                                        if (i == 0) {
                                            first_occur = index_content;
                                        }
                                    }
                                });
                            }
                            // show search results
                            if (isMatch) {
                                keywords.forEach(function(keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    data_title = data_title.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
                                });

                                str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                                var content = data.content.trim().replace(/<[^>]+>/g, "");
                                if (first_occur >= 0) {
                                    // cut out 100 characters
                                    var start = first_occur - 20;
                                    var end = first_occur + 80;
                                    if (start < 0) {
                                        start = 0;
                                    }
                                    if (start == 0) {
                                        end = 100;
                                    }
                                    if (end > content.length) {
                                        end = content.length;
                                    }
                                    var match_content = content.substring(start, end);
                                    // highlight all keywords
                                    keywords.forEach(function(keyword) {
                                        var regS = new RegExp(keyword, "gi");
                                        match_content = match_content.replace(regS, "<span class=\"search-keyword pink lighten-2\">" + keyword + "</span>");
                                    });

                                    str += "<p class=\"search-result\">..." + match_content + "...</p>"
                                }
                                str += "</li>";
                            }
                        });
                        str += "</ul>";
                        $resultContent.innerHTML = str;
                    });
                }
            });
        }
    })(jQuery);
</script>


<script src="/qianmeng/js/prettify.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $("pre").addClass("prettyprint");
        prettyPrint();
    });
</script>




<script type="text/javascript" src="http://tajs.qq.com/stats?sId=56073371" charset="UTF-8"></script>



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" async
  src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>



	<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"145"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

</body>
</html>
